<?php

$mod = $_GET['mod'];
$do = $_GET['do'];

switch($mod)
{
	
		case 'phong':
		switch($do)	
		{
			case 'dsphong':
			include("phongtro/ds_phong.php");
			break;

				//-----------------------------------------------
			case 'edit':
			include("phongtro/edit_phong.php");
			break;

				//-----------------------------------------------
			case 'delete':
			include("phongtro/delete_phong.php");
			break;

				//-----------------------------------------------
			case 'add':
			include("phongtro/add_phong.php");			
			break;

				//------------------------------------------------
				case 'timkiem':
			include("phongtro/timkiem_phong.php");			
			break;

				//------------------------------------------------

		}
		break;
		
		case 'sinhvien':
		switch($do)	
		{
			case 'dssv':
			include("sinhvien/ds_sinhvien.php");
			break;
			case 'add':
			include("sinhvien/add_sinhvien.php");
			break;
			case 'edit':
			include("sinhvien/sua_sinhvien.php");
			break;
			case 'delete':
			include("sinhvien/xoa_sinhvien.php");
			break;
			case 'timkiem_sv':
			include("sinhvien/timkiem_sinhvien.php");
			break;
		}
		break;
		case 'giahan':
		switch($do)	
		{
			case 'giahan':
			include("giahan/giahan.php");
			break;
		}
		break;
		case 'svphong':
			switch($do)
		{
			case'ds_svphong':
			include("sinhvien_phong/ds_sv_phong.php");
			break;
			
			case'add':
			include("sinhvien_phong/add_sv_phong.php");
			break;
			
			case'edit':
			include("sinhvien_phong/edit_sv_phong.php");
			break;
			
			case'delete':
			include("sinhvien_phong/del_sv_phong.php");
			break;
			
			case'timkiem':
			include("sinhvien_phong/timkiem_phong.php");
			break;
			
		}
		break;
		case 'user':
			switch($do)
		{
			case'dsuser':
			include("user/dsuser.php");
			break;
			
			case'add':
			include("user/adduser.php");
			break;
			
			case'del':
			include("user/deluser.php");
			break;
		}
		break;
	}
	
	?>